package com.zhang.service;

import com.zhang.search.SearchParam;
import com.zhang.search.SearchResponseVo;

public interface SearchService {

    //2.商品的上架
    void onSale(Long skuId);

    //2.商品的下架
    void offSale(Long skuId);

    //2.商品的搜索:根据传入的查询条件进行搜索，将得到的结果封装到SearchResponseVo
    SearchResponseVo searchProduct(SearchParam searchParam);

}
